load("//bazel:tachyon.bzl", "if_node_binding")
load("//bazel:tachyon_cc.bzl", "tachyon_cc_library")
load("//bazel:tachyon_node.bzl", "tachyon_node_library")

tachyon_cc_library(
    name = "color",
    testonly = True,
    srcs = if_node_binding(["color.cc"]),
    hdrs = ["color.h"],
    deps = [
        "//tachyon/base/binding/test:enum",
        "//tachyon/node/base:node_base",
    ],
)

tachyon_cc_library(
    name = "point",
    testonly = True,
    srcs = if_node_binding(["point.cc"]),
    hdrs = ["point.h"],
    deps = [
        "//tachyon/base/binding/test:class",
        "//tachyon/node/base:node_base",
    ],
)

tachyon_node_library(
    name = "test",
    testonly = True,
    srcs = if_node_binding(["test.cc"]),
    deps = [
        ":color",
        ":point",
        "//tachyon/base/binding/test:functions",
    ],
)
